import Vue from 'vue'
import Vuex from 'vuex'

import categoryModule from 'Store/category'
import homeModule from 'Store/home'
import searchModule from 'Store/search'
import productModule from 'Store/product'
import shopCarModule from 'Store/shopCar'

Vue.use(Vuex)

const store = new Vuex.Store({
    modules: {
        category: categoryModule,
        home: homeModule,
        search: searchModule,
        product: productModule,
        shopCar: shopCarModule
    }
})

export default store